<?PHP

session_start();
session_destroy();
setcookie("logoutMessage","logged Out Successfully",time()+30);
header('Location: index.php');

?>